package com.song.service.impl;

import com.song.dao.RoleDao;
import com.song.dao.UserDao;
import com.song.pojo.Role;
import com.song.pojo.User;
import com.song.service.RoleService;
import com.song.service.UserService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author TonySong
 * @date 2024/4/23 0023
 * @time 15:32
 */
@Service
public class UserServiceImpl implements UserService {

    @Resource
    private UserDao userDao;

    @Resource
    private RoleDao roleDao;

    @Override
    public List<User> getAll() {
        return this.userDao.findAll();
    }

    @Override
    public User getById(Integer id) {
        return null;
    }

    @Override
    public void add(User user) {

    }


}

